home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Sound / MusicIn / FastFT_float.h < prev    next >
C/C++ Source or Header  |  1997-09-23  |  732b  |  38 lines

  1. /*------------------------------------------------------------------------------
  2.  
  3.     File    :    FFT_float.h
  4.  
  5.     Author  :    Henryk Richter
  6.                 (based on Sources by Stéphane TAVENARD)
  7.  
  8.     $VER:   FFT_float.h  0.1  (29/09/1997)
  9.  
  10.  
  11.     Defintions for FFT for double precision floating point values
  12.  
  13. ------------------------------------------------------------------------------*/
  14.  
  15. #ifndef FastFT_FLOAT_H
  16. #define FastFT_FLOAT_H
  17.  
  18. #ifndef WORD
  19. #define WORD short
  20. #endif
  21.  
  22. #ifndef FLOAT
  23. #define FLOAT float
  24. #endif
  25.  
  26. #ifndef PI
  27. #define PI 3.14159265358979323846
  28. #endif
  29.  
  30. #ifndef FFT_RANGE_MAX
  31. #define FFT_RANGE_MAX 1024
  32. #endif
  33.  
  34. void FastFT_FLOAT_forward( FLOAT *x_real, FLOAT *x_imag,
  35.             FLOAT *energy, FLOAT *phi, int n );
  36.  
  37. #endif
  38.